package com.pica.system.service;

import java.util.List;
import com.pica.system.domain.Comments;

/**
 * commentsService接口
 * 
 * @author 徐鑫杰
 * @date 2022-12-14
 */
public interface ICommentsService 
{
    /**
     * 查询comments
     * 
     * @param comId comments主键
     * @return comments
     */
    public Comments selectCommentsByComId(Long comId);

    /**
     * 查询comments列表
     * 
     * @param comments comments
     * @return comments集合
     */
    public List<Comments> selectCommentsList(Comments comments);

    /**
     * 新增comments
     * 
     * @param comments comments
     * @return 结果
     */
    public int insertComments(Comments comments);

    /**
     * 修改comments
     * 
     * @param comments comments
     * @return 结果
     */
    public int updateComments(Comments comments);

    /**
     * 批量删除comments
     * 
     * @param comIds 需要删除的comments主键集合
     * @return 结果
     */
    public int deleteCommentsByComIds(String comIds);

    /**
     * 删除comments信息
     * 
     * @param comId comments主键
     * @return 结果
     */
    public int deleteCommentsByComId(Long comId);
}
